!function(){var __webpack_modules__={48332:function(t,o,c){"use strict";var l,u,h,m,g={};function _extends(){return(_extends=Object.assign||function(t){for(var o=1;o=0||(u[c]=t[c]);return u}c.r(g),c.d(g,{FederationHost:function(){return FederationHost},Module:function(){return ea},getInstance:function(){return index_esm_getInstance},getRemoteEntry:function(){return getRemoteEntry},getRemoteInfo:function(){return getRemoteInfo},init:function(){return init},loadRemote:function(){return loadRemote},loadScript:function(){return y.k0},loadScriptNode:function(){return y.oe},loadShare:function(){return loadShare},loadShareSync:function(){return loadShareSync},preloadRemote:function(){return preloadRemote},registerGlobalPlugins:function(){return registerGlobalPlugins},registerPlugins:function(){return registerPlugins},registerRemotes:function(){return registerRemotes}});var y=c(72919);function getBuilderId(){return"peaches:0.0.0"}let E="[ Federation Runtime ]";function assert(t,o){t||error(o)}function error(t){if(t instanceof Error)throw t.message="".concat(E,": ").concat(t.message),t;throw Error("".concat(E,": ").concat(t))}function warn(t){t instanceof Error?(t.message="".concat(E,": ").concat(t.message),console.warn(t)):console.warn("".concat(E,": ").concat(t))}function addUniqueItem(t,o){return -1===t.findIndex(t=>t===o)&&t.push(o),t}function getFMId(t){return"version"in t&&t.version?"".concat(t.name,":").concat(t.version):"entry"in t&&t.entry?"".concat(t.name,":").concat(t.entry):"".concat(t.name)}function isRemoteInfoWithEntry(t){return void 0!==t.entry}function isPureRemoteEntry(t){return!t.entry.includes(".json")&&t.entry.includes(".js")}function isObject(t){return t&&"object"==typeof t}let w=Object.prototype.toString;function isPlainObject(t){return"[object Object]"===w.call(t)}function arrayOptions(t){return Array.isArray(t)?t:[t]}function getRemoteEntryInfoFromSnapshot(t){let o={url:"",type:"global",globalName:""};return(0,y.OL)()?"remoteEntry"in t?{url:t.remoteEntry,type:t.remoteEntryType,globalName:t.globalName}:o:"ssrRemoteEntry"in t?{url:t.ssrRemoteEntry||o.url,type:t.ssrRemoteEntryType||o.type,globalName:t.globalName}:o}let S=(()=>{try{return Function("return this")()}catch(t){return globalThis}})(),I=S;function definePropertyGlobalVal(t,o,c){Object.defineProperty(t,o,{value:c,configurable:!1,writable:!0})}function includeOwnProperty(t,o){return Object.hasOwnProperty.call(t,o)}includeOwnProperty(globalThis,"__GLOBAL_LOADING_REMOTE_ENTRY__")||definePropertyGlobalVal(globalThis,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let R=globalThis.__GLOBAL_LOADING_REMOTE_ENTRY__;function setGlobalDefaultVal(t){var o,c,l,u,h,m,g,y,E,w,S,I;includeOwnProperty(t,"__VMOK__")&&!includeOwnProperty(t,"__FEDERATION__")&&definePropertyGlobalVal(t,"__FEDERATION__",t.__VMOK__),includeOwnProperty(t,"__FEDERATION__")||(definePropertyGlobalVal(t,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),definePropertyGlobalVal(t,"__VMOK__",t.__FEDERATION__)),null!=(g=(o=t.__FEDERATION__).__GLOBAL_PLUGIN__)||(o.__GLOBAL_PLUGIN__=[]),null!=(y=(c=t.__FEDERATION__).__INSTANCES__)||(c.__INSTANCES__=[]),null!=(E=(l=t.__FEDERATION__).moduleInfo)||(l.moduleInfo={}),null!=(w=(u=t.__FEDERATION__).__SHARE__)||(u.__SHARE__={}),null!=(S=(h=t.__FEDERATION__).__MANIFEST_LOADING__)||(h.__MANIFEST_LOADING__={}),null!=(I=(m=t.__FEDERATION__).__PRELOADED_MAP__)||(m.__PRELOADED_MAP__=new Map)}function getGlobalFederationInstance(t,o){let c=getBuilderId();return globalThis.__FEDERATION__.__INSTANCES__.find(l=>!!c&&l.options.id===getBuilderId()||l.options.name===t&&!l.options.version&&!o||l.options.name===t&&!!o&&l.options.version===o)}function setGlobalFederationInstance(t){globalThis.__FEDERATION__.__INSTANCES__.push(t)}function getGlobalFederationConstructor(){return globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function setGlobalFederationConstructor(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,y.Bb)();o&&(globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__=t,globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.6.9")}function getInfoWithoutType(t,o){if("string"==typeof o){let c=t[o];if(c)return{value:t[o],key:o};{let c=Object.keys(t);for(let l of c){let[c,u]=l.split(":"),h="".concat(c,":").concat(o),m=t[h];if(m)return{value:m,key:h}}return{value:void 0,key:o}}}throw Error("key must be string")}setGlobalDefaultVal(globalThis),setGlobalDefaultVal(S);let getGlobalSnapshot=()=>S.__FEDERATION__.moduleInfo,getTargetSnapshotInfoByModuleInfo=(t,o)=>{let c=getFMId(t),l=getInfoWithoutType(o,c).value;if(l&&!l.version&&"version"in t&&t.version&&(l.version=t.version),l)return l;if("version"in t&&t.version){let{version:o}=t,c=_object_without_properties_loose(t,["version"]),l=getFMId(c),u=getInfoWithoutType(S.__FEDERATION__.moduleInfo,l).value;if((null==u?void 0:u.version)===o)return u}},getGlobalSnapshotInfoByModuleInfo=t=>getTargetSnapshotInfoByModuleInfo(t,S.__FEDERATION__.moduleInfo),setGlobalSnapshotInfoByModuleInfo=(t,o)=>{let c=getFMId(t);return S.__FEDERATION__.moduleInfo[c]=o,S.__FEDERATION__.moduleInfo},addGlobalSnapshot=t=>(S.__FEDERATION__.moduleInfo=_extends({},S.__FEDERATION__.moduleInfo,t),()=>{let o=Object.keys(t);for(let t of o)delete S.__FEDERATION__.moduleInfo[t]}),getRemoteEntryExports=(t,o)=>{let c=o||"__FEDERATION_".concat(t,":custom__"),l=globalThis[c];return{remoteEntryKey:c,entryExports:l}},registerGlobalPlugins=t=>{let{__GLOBAL_PLUGIN__:o}=S.__FEDERATION__;t.forEach(t=>{-1===o.findIndex(o=>o.name===t.name)?o.push(t):warn("The plugin ".concat(t.name," has been registered."))})},getGlobalHostPlugins=()=>S.__FEDERATION__.__GLOBAL_PLUGIN__,getPreloaded=t=>globalThis.__FEDERATION__.__PRELOADED_MAP__.get(t),setPreloaded=t=>globalThis.__FEDERATION__.__PRELOADED_MAP__.set(t,!0),T="default",P="global",O="[0-9A-Za-z-]+",q="(?:\\+(".concat(O,"(?:\\.").concat(O,")*))"),A="0|[1-9]\\d*",N="[0-9]+",M="\\d*[a-zA-Z-][a-zA-Z0-9-]*",C="(?:".concat(N,"|").concat(M,")"),F="(?:-?(".concat(C,"(?:\\.").concat(C,")*))"),L="(?:".concat(A,"|").concat(M,")"),H="(?:-(".concat(L,"(?:\\.").concat(L,")*))"),D="".concat(A,"|x|X|\\*"),V="[v=\\s]*(".concat(D,")(?:\\.(").concat(D,")(?:\\.(").concat(D,")(?:").concat(H,")?").concat(q,"?)?)?"),G="^\\s*(".concat(V,")\\s+-\\s+(").concat(V,")\\s*$"),U="(".concat(N,")\\.(").concat(N,")\\.(").concat(N,")"),W="[v=\\s]*".concat(U).concat(F,"?").concat(q,"?"),B="((?:<|>)?=?)",z="(\\s*)".concat(B,"\\s*(").concat(W,"|").concat(V,")"),K="(?:~>?)",$="(\\s*)".concat(K,"\\s+"),X="(?:\\^)",J="(\\s*)".concat(X,"\\s+"),Y="(<|>)?=?\\s*\\*",Z="^".concat(X).concat(V,"$"),Q="(".concat(A,")\\.(").concat(A,")\\.(").concat(A,")"),ee="v?".concat(Q).concat(H,"?").concat(q,"?"),et="^".concat(K).concat(V,"$"),er="^".concat(B,"\\s*").concat(V,"$"),en="^".concat(B,"\\s*(").concat(ee,")$|^$"),eo="^\\s*>=\\s*0.0.0\\s*$";function parseRegex(t){return new RegExp(t)}function isXVersion(t){return!t||"x"===t.toLowerCase()||"*"===t}function pipe(){for(var t=arguments.length,o=Array(t),c=0;co.reduce((t,o)=>o(t),t)}function extractComparator(t){return t.match(parseRegex(en))}function combineVersion(t,o,c,l){let u="".concat(t,".").concat(o,".").concat(c);return l?"".concat(u,"-").concat(l):u}function parseHyphen(t){return t.replace(parseRegex(G),(t,o,c,l,u,h,m,g,y,E,w,S)=>(o=isXVersion(c)?"":isXVersion(l)?">=".concat(c,".0.0"):isXVersion(u)?">=".concat(c,".").concat(l,".0"):">=".concat(o),g=isXVersion(y)?"":isXVersion(E)?"<".concat(Number(y)+1,".0.0-0"):isXVersion(w)?"<".concat(y,".").concat(Number(E)+1,".0-0"):S?"<=".concat(y,".").concat(E,".").concat(w,"-").concat(S):"<=".concat(g),"".concat(o," ").concat(g).trim()))}function parseComparatorTrim(t){return t.replace(parseRegex(z),"$1$2$3")}function parseTildeTrim(t){return t.replace(parseRegex($),"$1~")}function parseCaretTrim(t){return t.replace(parseRegex(J),"$1^")}function parseCarets(t){return t.trim().split(/\s+/).map(t=>t.replace(parseRegex(Z),(t,o,c,l,u)=>isXVersion(o)?"":isXVersion(c)?">=".concat(o,".0.0 <").concat(Number(o)+1,".0.0-0"):isXVersion(l)?"0"===o?">=".concat(o,".").concat(c,".0 <").concat(o,".").concat(Number(c)+1,".0-0"):">=".concat(o,".").concat(c,".0 <").concat(Number(o)+1,".0.0-0"):u?"0"!==o?">=".concat(o,".").concat(c,".").concat(l,"-").concat(u," <").concat(Number(o)+1,".0.0-0"):"0"===c?">=".concat(o,".").concat(c,".").concat(l,"-").concat(u," <").concat(o,".").concat(c,".").concat(Number(l)+1,"-0"):">=".concat(o,".").concat(c,".").concat(l,"-").concat(u," <").concat(o,".").concat(Number(c)+1,".0-0"):"0"===o?"0"===c?">=".concat(o,".").concat(c,".").concat(l," <").concat(o,".").concat(c,".").concat(Number(l)+1,"-0"):">=".concat(o,".").concat(c,".").concat(l," <").concat(o,".").concat(Number(c)+1,".0-0"):">=".concat(o,".").concat(c,".").concat(l," <").concat(Number(o)+1,".0.0-0"))).join(" ")}function parseTildes(t){return t.trim().split(/\s+/).map(t=>t.replace(parseRegex(et),(t,o,c,l,u)=>isXVersion(o)?"":isXVersion(c)?">=".concat(o,".0.0 <").concat(Number(o)+1,".0.0-0"):isXVersion(l)?">=".concat(o,".").concat(c,".0 <").concat(o,".").concat(Number(c)+1,".0-0"):u?">=".concat(o,".").concat(c,".").concat(l,"-").concat(u," <").concat(o,".").concat(Number(c)+1,".0-0"):">=".concat(o,".").concat(c,".").concat(l," <").concat(o,".").concat(Number(c)+1,".0-0"))).join(" ")}function parseXRanges(t){return t.split(/\s+/).map(t=>t.trim().replace(parseRegex(er),(t,o,c,l,u,h)=>{let m=isXVersion(c),g=m||isXVersion(l),y=g||isXVersion(u);return("="===o&&y&&(o=""),h="",m)?">"===o||"<"===o?"<0.0.0-0":"*":o&&y?(g&&(l=0),u=0,">"===o?(o=">=",g?(c=Number(c)+1,l=0):l=Number(l)+1,u=0):"<="===o&&(o="<",g?c=Number(c)+1:l=Number(l)+1),"<"===o&&(h="-0"),"".concat(o+c,".").concat(l,".").concat(u).concat(h)):g?">=".concat(c,".0.0").concat(h," <").concat(Number(c)+1,".0.0-0"):y?">=".concat(c,".").concat(l,".0").concat(h," <").concat(c,".").concat(Number(l)+1,".0-0"):t})).join(" ")}function parseStar(t){return t.trim().replace(parseRegex(Y),"")}function parseGTE0(t){return t.trim().replace(parseRegex(eo),"")}function compareAtom(t,o){return(t=Number(t)||t)>(o=Number(o)||o)?1:t===o?0:-1}function comparePreRelease(t,o){let{preRelease:c}=t,{preRelease:l}=o;if(void 0===c&&l)return 1;if(c&&void 0===l)return -1;if(void 0===c&&void 0===l)return 0;for(let t=0,o=c.length;t<=o;t++){let o=c[t],u=l[t];if(o!==u){if(void 0===o&&void 0===u)break;if(!o)return 1;if(!u)return -1;return compareAtom(o,u)}}return 0}function compareVersion(t,o){return compareAtom(t.major,o.major)||compareAtom(t.minor,o.minor)||compareAtom(t.patch,o.patch)||comparePreRelease(t,o)}function eq(t,o){return t.version===o.version}function compare(t,o){switch(t.operator){case"":case"=":return eq(t,o);case">":return 0>compareVersion(t,o);case">=":return eq(t,o)||0>compareVersion(t,o);case"<":return compareVersion(t,o)>0;case"<=":return eq(t,o)||compareVersion(t,o)>0;case void 0:return!0;default:return!1}}function parseComparatorString(t){return pipe(parseCarets,parseTildes,parseXRanges,parseStar)(t)}function parseRange(t){return pipe(parseHyphen,parseComparatorTrim,parseTildeTrim,parseCaretTrim)(t.trim()).split(/\s+/).join(" ")}function satisfy(t,o){if(!t)return!1;let c=parseRange(o),l=c.split(" ").map(t=>parseComparatorString(t)).join(" "),u=l.split(/\s+/).map(t=>parseGTE0(t)),h=extractComparator(t);if(!h)return!1;let[,m,,g,y,E,w]=h,S={operator:m,version:combineVersion(g,y,E,w),major:g,minor:y,patch:E,preRelease:null==w?void 0:w.split(".")};for(let t of u){let o=extractComparator(t);if(!o)return!1;let[,c,,l,u,h,m]=o,g={operator:c,version:combineVersion(l,u,h,m),major:l,minor:u,patch:h,preRelease:null==m?void 0:m.split(".")};if(!compare(g,S))return!1}return!0}function formatShare(t,o,c,l){var u,h,m;let g;return g="get"in t?t.get:"lib"in t?()=>Promise.resolve(t.lib):()=>Promise.resolve(()=>{throw Error("Can not get shared '".concat(c,"'!"))}),t.strategy&&warn('"shared.strategy is deprecated, please set in initOptions.shareStrategy instead!"'),_extends({deps:[],useIn:[],from:o,loading:null},t,{shareConfig:_extends({requiredVersion:"^".concat(t.version),singleton:!1,eager:!1,strictVersion:!1},t.shareConfig),get:g,loaded:null!=t&&!!t.loaded||"lib"in t||void 0,version:null!=(u=t.version)?u:"0",scope:Array.isArray(t.scope)?t.scope:[null!=(h=t.scope)?h:"default"],strategy:(null!=(m=t.strategy)?m:l)||"version-first"})}function formatShareConfigs(t,o){let c=o.shared||{},l=o.name,u=Object.keys(c).reduce((t,u)=>{let h=arrayOptions(c[u]);return t[u]=t[u]||[],h.forEach(c=>{t[u].push(formatShare(c,l,u,o.shareStrategy))}),t},{}),h=_extends({},t.shared);return Object.keys(u).forEach(t=>{h[t]?u[t].forEach(o=>{let c=h[t].find(t=>t.version===o.version);c||h[t].push(o)}):h[t]=u[t]}),{shared:h,shareInfos:u}}function versionLt(t,o){let transformInvalidVersion=t=>{let o=!Number.isNaN(Number(t));if(o){let o=t.split("."),c=t;for(let t=0;t<3-o.length;t++)c+=".0";return c}return t};return!!satisfy(transformInvalidVersion(t),"<=".concat(transformInvalidVersion(o)))}let findVersion=(t,o)=>{let c=o||function(t,o){return versionLt(t,o)};return Object.keys(t).reduce((t,o)=>!t||c(t,o)||"0"===t?o:t,0)},isLoaded=t=>!!t.loaded||"function"==typeof t.lib;function findSingletonVersionOrderByVersion(t,o,c){let l=t[o][c],callback=function(t,o){return!isLoaded(l[t])&&versionLt(t,o)};return findVersion(t[o][c],callback)}function findSingletonVersionOrderByLoaded(t,o,c){let l=t[o][c],callback=function(t,o){return isLoaded(l[o])?!isLoaded(l[t])||!!versionLt(t,o):!isLoaded(l[t])&&versionLt(t,o)};return findVersion(t[o][c],callback)}function getFindShareFunction(t){return"loaded-first"===t?findSingletonVersionOrderByLoaded:findSingletonVersionOrderByVersion}function getRegisteredShare(t,o,c,l){if(!t)return;let{shareConfig:u,scope:h=T,strategy:m}=c,g=Array.isArray(h)?h:[h];for(let h of g)if(u&&t[h]&&t[h][o]){let{requiredVersion:g}=u,y=getFindShareFunction(m),E=y(t,h,o),defaultResolver=()=>{if(u.singleton){if("string"==typeof g&&!satisfy(E,g)){let l="Version ".concat(E," from ").concat(E&&t[h][o][E].from," of shared singleton module ").concat(o," does not satisfy the requirement of ").concat(c.from," which needs ").concat(g,")");u.strictVersion?error(l):warn(l)}return t[h][o][E]}if(!1===g||"*"===g||satisfy(E,g))return t[h][o][E];for(let[c,l]of Object.entries(t[h][o]))if(satisfy(c,g))return l},w={shareScopeMap:t,scope:h,pkgName:o,version:E,GlobalFederation:I.__FEDERATION__,resolver:defaultResolver},S=l.emit(w)||w;return S.resolver()}}function getGlobalShareScope(){return I.__FEDERATION__.__SHARE__}function getTargetSharedOptions(t){var o;let{pkgName:c,extraOptions:l,shareInfos:u}=t,defaultResolver=t=>{if(!t)return;let o={};t.forEach(t=>{o[t.version]=t});let callback=function(t,c){return!isLoaded(o[t])&&versionLt(t,c)},c=findVersion(o,callback);return o[c]},h=null!=(o=null==l?void 0:l.resolver)?o:defaultResolver;return Object.assign({},h(u[c]),null==l?void 0:l.customShareInfo)}function matchRemoteWithNameAndExpose(t,o){for(let c of t){let t=o.startsWith(c.name),l=o.replace(c.name,"");if(t){if(l.startsWith("/")){let t=c.name;return{pkgNameOrAlias:t,expose:l=".".concat(l),remote:c}}if(""===l)return{pkgNameOrAlias:c.name,expose:".",remote:c}}let u=c.alias&&o.startsWith(c.alias),h=c.alias&&o.replace(c.alias,"");if(c.alias&&u){if(h&&h.startsWith("/")){let t=c.alias;return{pkgNameOrAlias:t,expose:h=".".concat(h),remote:c}}if(""===h)return{pkgNameOrAlias:c.alias,expose:".",remote:c}}}}function matchRemote(t,o){for(let c of t){let t=o===c.name;if(t)return c;let l=c.alias&&o===c.alias;if(l)return c}}function registerPlugins$1(t,o){let c=getGlobalHostPlugins();return c.length>0&&c.forEach(o=>{(null==t?void 0:t.find(t=>t.name!==o.name))&&t.push(o)}),t&&t.length>0&&t.forEach(t=>{o.forEach(o=>{o.applyPlugin(t)})}),t}async function loadEsmEntry(t){let{entry:o,remoteEntryExports:c}=t;return new Promise((t,l)=>{try{c?t(c):Function("callbacks",'import("'.concat(o,'").then(callbacks[0]).catch(callbacks[1])'))([t,l])}catch(t){l(t)}})}async function loadSystemJsEntry(t){let{entry:o,remoteEntryExports:c}=t;return new Promise((t,l)=>{try{c?t(c):Function("callbacks",'System.import("'.concat(o,'").then(callbacks[0]).catch(callbacks[1])'))([t,l])}catch(t){l(t)}})}async function loadEntryScript(t){let{name:o,globalName:c,entry:l,createScriptHook:u}=t,{entryExports:h}=getRemoteEntryExports(o,c);return h||(0,y.k0)(l,{attrs:{},createScriptHook:(t,o)=>{let c=u.emit({url:t,attrs:o});if(c&&(c instanceof HTMLScriptElement||"script"in c||"timeout"in c))return c}}).then(()=>{let{remoteEntryKey:t,entryExports:u}=getRemoteEntryExports(o,c);return assert(u,"\n Unable to use the ".concat(o,"'s '").concat(l,"' URL with ").concat(t,"'s globalName to get remoteEntry exports.\n Possible reasons could be:\n\n 1. '").concat(l,"' is not the correct URL, or the remoteEntry resource or name is incorrect.\n\n 2. ").concat(t," cannot be used to get remoteEntry exports in the window object.\n ")),u}).catch(t=>{throw t})}async function loadEntryDom(t){let{remoteInfo:o,remoteEntryExports:c,createScriptHook:l}=t,{entry:u,entryGlobalName:h,name:m,type:g}=o;switch(g){case"esm":case"module":return loadEsmEntry({entry:u,remoteEntryExports:c});case"system":return loadSystemJsEntry({entry:u,remoteEntryExports:c});default:return loadEntryScript({entry:u,globalName:h,name:m,createScriptHook:l})}}async function loadEntryNode(t){let{remoteInfo:o,createScriptHook:c}=t,{entry:l,entryGlobalName:u,name:h,type:m}=o,{entryExports:g}=getRemoteEntryExports(h,u);return g||(0,y.oe)(l,{attrs:{name:h,globalName:u,type:m},createScriptHook:(t,o)=>{let l=c.emit({url:t,attrs:o});if(l&&"url"in l)return l}}).then(()=>{let{remoteEntryKey:t,entryExports:o}=getRemoteEntryExports(h,u);return assert(o,"\n Unable to use the ".concat(h,"'s '").concat(l,"' URL with ").concat(t,"'s globalName to get remoteEntry exports.\n Possible reasons could be:\n\n 1. '").concat(l,"' is not the correct URL, or the remoteEntry resource or name is incorrect.\n\n 2. ").concat(t," cannot be used to get remoteEntry exports in the window object.\n ")),o}).catch(t=>{throw t})}function getRemoteEntryUniqueKey(t){let{entry:o,name:c}=t;return(0,y.lG)(c,o)}async function getRemoteEntry(t){let{origin:o,remoteEntryExports:c,remoteInfo:l}=t,u=getRemoteEntryUniqueKey(l);if(c)return c;if(!R[u]){let t=o.remoteHandler.hooks.lifecycle.loadEntry,h=o.loaderHook.lifecycle.createScript;R[u]=t.emit({createScriptHook:h,remoteInfo:l,remoteEntryExports:c}).then(t=>t||((0,y.OL)()?loadEntryDom({remoteInfo:l,remoteEntryExports:c,createScriptHook:h}):loadEntryNode({remoteInfo:l,createScriptHook:h})))}return R[u]}function getRemoteInfo(t){return _extends({},t,{entry:"entry"in t?t.entry:"",type:t.type||P,entryGlobalName:t.entryGlobalName||t.name,shareScope:t.shareScope||T})}let ea=class{async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;let t=await getRemoteEntry({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports});return assert(t,"remoteEntryExports is undefined \n ".concat((0,y.ML)(this.remoteInfo))),this.remoteEntryExports=t,this.remoteEntryExports}async get(t,o,c,l){let{loadFactory:u=!0}=c||{loadFactory:!0},h=await this.getEntry();if(!this.inited){let o=this.host.shareScopeMap,c=this.remoteInfo.shareScope||"default";o[c]||(o[c]={});let u=o[c],m=[],g={version:this.remoteInfo.version||""};Object.defineProperty(g,"shareScopeMap",{value:o,enumerable:!1});let y=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:u,remoteEntryInitOptions:g,initScope:m,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==h?void 0:h.init)&&console.error('The remote entry interface does not contain "init"',"\n","Ensure the name of this remote is not reserved or in use. Check if anything already exists on window[nameOfRemote]","\n","Ensure that window[nameOfRemote] is returning a {get,init} object."),await h.init(y.shareScope,y.initScope,y.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(_extends({},y,{id:t,remoteSnapshot:l,remoteEntryExports:h}))}this.lib=h,this.inited=!0;let m=await h.get(o);assert(m,"".concat(getFMId(this.remoteInfo)," remote don't export ").concat(o,"."));let g=this.wraperFactory(m,t);if(!u)return g;let y=await g();return y}wraperFactory(t,o){function defineModuleId(t,o){t&&"object"==typeof t&&Object.isExtensible(t)&&!Object.getOwnPropertyDescriptor(t,Symbol.for("mf_module_id"))&&Object.defineProperty(t,Symbol.for("mf_module_id"),{value:o,enumerable:!1})}return t instanceof Promise?async()=>{let c=await t();return defineModuleId(c,o),c}:()=>{let c=t();return defineModuleId(c,o),c}}constructor({remoteInfo:t,host:o}){this.inited=!1,this.lib=void 0,this.remoteInfo=t,this.host=o}};let SyncHook=class SyncHook{on(t){"function"==typeof t&&this.listeners.add(t)}once(t){let o=this;this.on(function wrapper(){for(var c=arguments.length,l=Array(c),u=0;u0&&this.listeners.forEach(o=>{t=o(...c)}),t}remove(t){this.listeners.delete(t)}removeAll(){this.listeners.clear()}constructor(t){this.type="",this.listeners=new Set,t&&(this.type=t)}};let AsyncHook=class AsyncHook extends SyncHook{emit(){let t;for(var o=arguments.length,c=Array(o),l=0;l0){let o=0,call=t=>!1!==t&&(o0){let c=0,processError=o=>(warn(o),this.onerror(o),t),call=l=>{if(checkReturnData(t,l)){if(t=l,c{let c=t[o];c&&this.lifecycle[o].on(c)}))}removePlugin(t){assert(t,"A name is required.");let o=this.registerPlugins[t];assert(o,'The plugin "'.concat(t,'" is not registered.')),Object.keys(o).forEach(t=>{"name"!==t&&this.lifecycle[t].remove(o[t])})}inherit(t){let{lifecycle:o,registerPlugins:c}=t;Object.keys(o).forEach(t=>{assert(!this.lifecycle[t],'The hook "'.concat(t,'" has a conflict and cannot be inherited.')),this.lifecycle[t]=o[t]}),Object.keys(c).forEach(t=>{assert(!this.registerPlugins[t],'The plugin "'.concat(t,'" has a conflict and cannot be inherited.')),this.applyPlugin(c[t])})}constructor(t){this.registerPlugins={},this.lifecycle=t,this.lifecycleKeys=Object.keys(t)}};function defaultPreloadArgs(t){return _extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},t)}function formatPreloadArgs(t,o){return o.map(o=>{let c=matchRemote(t,o.nameOrAlias);return assert(c,"Unable to preload ".concat(o.nameOrAlias," as it is not included in ").concat(!c&&(0,y.ML)({remoteInfo:c,remotes:t}))),{remote:c,preloadConfig:defaultPreloadArgs(o)}})}function normalizePreloadExposes(t){return t?t.map(t=>"."===t?t:t.startsWith("./")?t.replace("./",""):t):[]}function preloadAssets(t,o,c){let l=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{cssAssets:u,jsAssetsWithoutEntry:h,entryAssets:m}=c;if(o.options.inBrowser){if(m.forEach(c=>{let{moduleInfo:l}=c,u=o.moduleCache.get(t.name);u?getRemoteEntry({origin:o,remoteInfo:l,remoteEntryExports:u.remoteEntryExports}):getRemoteEntry({origin:o,remoteInfo:l,remoteEntryExports:void 0})}),l){let t={rel:"preload",as:"style",crossorigin:"anonymous"};u.forEach(c=>{let{link:l,needAttach:u}=(0,y.d)({url:c,cb:()=>{},attrs:t,createLinkHook:(t,c)=>{let l=o.loaderHook.lifecycle.createLink.emit({url:t,attrs:c});if(l instanceof HTMLLinkElement)return l}});u&&document.head.appendChild(l)})}else{let t={rel:"stylesheet",type:"text/css"};u.forEach(c=>{let{link:l,needAttach:u}=(0,y.d)({url:c,cb:()=>{},attrs:t,createLinkHook:(t,c)=>{let l=o.loaderHook.lifecycle.createLink.emit({url:t,attrs:c});if(l instanceof HTMLLinkElement)return l},needDeleteLink:!1});u&&document.head.appendChild(l)})}if(l){let t={rel:"preload",as:"script",crossorigin:"anonymous"};h.forEach(c=>{let{link:l,needAttach:u}=(0,y.d)({url:c,cb:()=>{},attrs:t,createLinkHook:(t,c)=>{let l=o.loaderHook.lifecycle.createLink.emit({url:t,attrs:c});if(l instanceof HTMLLinkElement)return l}});u&&document.head.appendChild(l)})}else{let c={fetchpriority:"high",type:(null==t?void 0:t.type)==="module"?"module":"text/javascript"};h.forEach(t=>{let{script:l,needAttach:u}=(0,y.so)({url:t,cb:()=>{},attrs:c,createScriptHook:(t,c)=>{let l=o.loaderHook.lifecycle.createScript.emit({url:t,attrs:c});if(l instanceof HTMLScriptElement)return l},needDeleteScript:!0});u&&document.head.appendChild(l)})}}}function assignRemoteInfo(t,o){let c=getRemoteEntryInfoFromSnapshot(o);c.url||error("The attribute remoteEntry of ".concat(t.name," must not be undefined."));let l=(0,y.Al)(o,c.url);(0,y.OL)()||l.startsWith("http")||(l="https:".concat(l)),t.type=c.type,t.entryGlobalName=c.globalName,t.entry=l,t.version=o.version,t.buildVersion=o.buildVersion}function snapshotPlugin(){return{name:"snapshot-plugin",async afterResolve(t){let{remote:o,pkgNameOrAlias:c,expose:l,origin:u,remoteInfo:h}=t;if(!isRemoteInfoWithEntry(o)||!isPureRemoteEntry(o)){let{remoteSnapshot:m,globalSnapshot:g}=await u.snapshotHandler.loadRemoteSnapshotInfo(o);assignRemoteInfo(h,m);let y={remote:o,preloadConfig:{nameOrAlias:c,exposes:[l],resourceCategory:"sync",share:!1,depsRemote:!1}},E=await u.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:u,preloadOptions:y,remoteInfo:h,remote:o,remoteSnapshot:m,globalSnapshot:g});return E&&preloadAssets(h,u,E,!1),_extends({},t,{remoteSnapshot:m})}return t}}}function splitId(t){let o=t.split(":");return 1===o.length?{name:o[0],version:void 0}:2===o.length?{name:o[0],version:o[1]}:{name:o[1],version:o[2]}}function traverseModuleInfo(t,o,c,l){let u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},h=arguments.length>5?arguments[5]:void 0,m=getFMId(o),{value:g}=getInfoWithoutType(t,m),E=h||g;if(E&&!(0,y.Tr)(E)&&(c(E,o,l),E.remotesInfo)){let o=Object.keys(E.remotesInfo);for(let l of o){if(u[l])continue;u[l]=!0;let o=splitId(l),h=E.remotesInfo[l];traverseModuleInfo(t,{name:o.name,version:h.matchedVersion},c,!1,u,void 0)}}}function generatePreloadAssets(t,o,c,l,u){let h=[],m=[],g=[],E=new Set,w=new Set,{options:S}=t,{preloadConfig:I}=o,{depsRemote:R}=I,T={};if(traverseModuleInfo(l,c,(o,c,l)=>{let u;if(l)u=I;else if(Array.isArray(R)){let t=R.find(t=>t.nameOrAlias===c.name||t.nameOrAlias===c.alias);if(!t)return;u=defaultPreloadArgs(t)}else{if(!0!==R)return;u=I}let E=(0,y.Al)(o,getRemoteEntryInfoFromSnapshot(o).url);E&&g.push({name:c.name,moduleInfo:{name:c.name,entry:E,type:"remoteEntryType"in o?o.remoteEntryType:"global",entryGlobalName:"globalName"in o?o.globalName:c.name,shareScope:"",version:"version"in o?o.version:void 0},url:E});let w="modules"in o?o.modules:[],S=normalizePreloadExposes(u.exposes);if(S.length&&"modules"in o){var T;w=null==o?void 0:null==(T=o.modules)?void 0:T.reduce((t,o)=>((null==S?void 0:S.indexOf(o.moduleName))!==-1&&t.push(o),t),[])}function handleAssets(t){let c=t.map(t=>(0,y.Al)(o,t));return u.filter?c.filter(u.filter):c}if(w){let l=w.length;for(let g=0;g{let l=getRegisteredShare(t.shareScopeMap,c.sharedName,o,t.sharedHandler.hooks.lifecycle.resolveShare);l&&"function"==typeof l.lib&&(c.assets.js.sync.forEach(t=>{E.add(t)}),c.assets.css.sync.forEach(t=>{w.add(t)}))};u.shared.forEach(t=>{var o;let c=null==(o=S.shared)?void 0:o[t.sharedName];if(!c)return;let l=t.version?c.find(o=>o.version===t.version):c;if(!l)return;let u=arrayOptions(l);u.forEach(o=>{collectSharedAssets(o,t)})})}let P=m.filter(t=>!E.has(t)),O=h.filter(t=>!w.has(t));return{cssAssets:O,jsAssetsWithoutEntry:P,entryAssets:g}}let generatePreloadAssetsPlugin=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(t){let{origin:o,preloadOptions:c,remoteInfo:l,remote:u,globalSnapshot:h,remoteSnapshot:m}=t;if(isRemoteInfoWithEntry(u)&&isPureRemoteEntry(u))return{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:u.name,url:u.entry,moduleInfo:{name:l.name,entry:u.entry,type:l.type||"global",entryGlobalName:"",shareScope:""}}]};assignRemoteInfo(l,m);let g=generatePreloadAssets(o,c,l,h,m);return g}}};function getGlobalRemoteInfo(t,o){let c=getGlobalSnapshotInfoByModuleInfo({name:o.options.name,version:o.options.version}),l=c&&"remotesInfo"in c&&c.remotesInfo&&getInfoWithoutType(c.remotesInfo,t.name).value;return l&&l.matchedVersion?{hostGlobalSnapshot:c,globalSnapshot:getGlobalSnapshot(),remoteSnapshot:getGlobalSnapshotInfoByModuleInfo({name:t.name,version:l.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:getGlobalSnapshot(),remoteSnapshot:getGlobalSnapshotInfoByModuleInfo({name:t.name,version:"version"in t?t.version:void 0})}}let SnapshotHandler=class SnapshotHandler{async loadSnapshot(t){let{options:o}=this.HostInstance,{hostGlobalSnapshot:c,remoteSnapshot:l,globalSnapshot:u}=this.getGlobalRemoteInfo(t),{remoteSnapshot:h,globalSnapshot:m}=await this.hooks.lifecycle.loadSnapshot.emit({options:o,moduleInfo:t,hostGlobalSnapshot:c,remoteSnapshot:l,globalSnapshot:u});return{remoteSnapshot:h,globalSnapshot:m}}async loadRemoteSnapshotInfo(t){let{options:o}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:o,moduleInfo:t});let c=getGlobalSnapshotInfoByModuleInfo({name:this.HostInstance.options.name,version:this.HostInstance.options.version});c||(c={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},addGlobalSnapshot({[this.HostInstance.options.name]:c})),c&&"remotesInfo"in c&&!getInfoWithoutType(c.remotesInfo,t.name).value&&("version"in t||"entry"in t)&&(c.remotesInfo=_extends({},null==c?void 0:c.remotesInfo,{[t.name]:{matchedVersion:"version"in t?t.version:t.entry}}));let{hostGlobalSnapshot:l,remoteSnapshot:u,globalSnapshot:h}=this.getGlobalRemoteInfo(t),{remoteSnapshot:m,globalSnapshot:g}=await this.hooks.lifecycle.loadSnapshot.emit({options:o,moduleInfo:t,hostGlobalSnapshot:l,remoteSnapshot:u,globalSnapshot:h});if(m){if((0,y.Tr)(m)){let o=(0,y.OL)()?m.remoteEntry:m.ssrRemoteEntry||m.remoteEntry||"",c=await this.getManifestJson(o,t,{}),l=setGlobalSnapshotInfoByModuleInfo(_extends({},t,{entry:o}),c);return{remoteSnapshot:c,globalSnapshot:l}}{let{remoteSnapshot:o}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,remoteSnapshot:m,from:"global"});return{remoteSnapshot:o,globalSnapshot:g}}}if(isRemoteInfoWithEntry(t)){let o=await this.getManifestJson(t.entry,t,{}),c=setGlobalSnapshotInfoByModuleInfo(t,o),{remoteSnapshot:l}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,remoteSnapshot:o,from:"global"});return{remoteSnapshot:l,globalSnapshot:c}}error("\n Cannot get remoteSnapshot with the name: '".concat(t.name,"', version: '").concat(t.version,"' from __FEDERATION__.moduleInfo. The following reasons may be causing the problem:\n\n 1. The Deploy platform did not deliver the correct data. You can use __FEDERATION__.moduleInfo to check the remoteInfo.\n\n 2. The remote '").concat(t.name,"' version '").concat(t.version,"' is not released.\n\n The transformed module info: ").concat(JSON.stringify(g),"\n "))}getGlobalRemoteInfo(t){return getGlobalRemoteInfo(t,this.HostInstance)}async getManifestJson(t,o,c){let getManifest=async()=>{let c=this.manifestCache.get(t);if(c)return c;try{let o=await this.loaderHook.lifecycle.fetch.emit(t,{});return o&&o instanceof Response||(o=await fetch(t,{})),c=await o.json(),assert(c.metaData&&c.exposes&&c.shared,"".concat(t," is not a federation manifest")),this.manifestCache.set(t,c),c}catch(c){delete this.manifestLoading[t],error("Failed to get manifestJson for ".concat(o.name,". The manifest URL is ").concat(t,". Please ensure that the manifestUrl is accessible.\n \n Error message:\n \n ").concat(c))}},asyncLoadProcess=async()=>{let c=await getManifest(),l=(0,y.Jn)(c,{version:t}),{remoteSnapshot:u}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:o,manifestJson:c,remoteSnapshot:l,manifestUrl:t,from:"manifest"});return u};return this.manifestLoading[t]||(this.manifestLoading[t]=asyncLoadProcess().then(t=>t)),this.manifestLoading[t]}constructor(t){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new PluginSystem({beforeLoadRemoteSnapshot:new AsyncHook("beforeLoadRemoteSnapshot"),loadSnapshot:new AsyncWaterfallHook("loadGlobalSnapshot"),loadRemoteSnapshot:new AsyncWaterfallHook("loadRemoteSnapshot")}),this.manifestLoading=I.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=t,this.loaderHook=t.loaderHook}};let SharedHandler=class SharedHandler{registerShared(t,o){let{shareInfos:c,shared:l}=formatShareConfigs(t,o),u=Object.keys(c);return u.forEach(t=>{let l=c[t];l.forEach(c=>{let l=getRegisteredShare(this.shareScopeMap,t,c,this.hooks.lifecycle.resolveShare);!l&&c&&c.lib&&this.setShared({pkgName:t,lib:c.lib,get:c.get,loaded:!0,shared:c,from:o.name})})}),{shareInfos:c,shared:l}}async loadShare(t,o){let{host:c}=this,l=getTargetSharedOptions({pkgName:t,extraOptions:o,shareInfos:c.options.shared});(null==l?void 0:l.scope)&&await Promise.all(l.scope.map(async t=>{await Promise.all(this.initializeSharing(t,{strategy:l.strategy}))}));let u=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:t,shareInfo:l,shared:c.options.shared,origin:c}),{shareInfo:h}=u;assert(h,"Cannot find ".concat(t," Share in the ").concat(c.options.name,". Please ensure that the ").concat(t," Share parameters have been injected"));let m=getRegisteredShare(this.shareScopeMap,t,h,this.hooks.lifecycle.resolveShare),addUseIn=t=>{t.useIn||(t.useIn=[]),addUniqueItem(t.useIn,c.options.name)};if(m&&m.lib)return addUseIn(m),m.lib;if(m&&m.loading&&!m.loaded){let t=await m.loading;return m.loaded=!0,m.lib||(m.lib=t),addUseIn(m),t}if(m){let asyncLoadProcess=async()=>{let o=await m.get();h.lib=o,h.loaded=!0,addUseIn(h);let c=getRegisteredShare(this.shareScopeMap,t,h,this.hooks.lifecycle.resolveShare);return c&&(c.lib=o,c.loaded=!0),o},o=asyncLoadProcess();return this.setShared({pkgName:t,loaded:!1,shared:m,from:c.options.name,lib:null,loading:o}),o}{if(null==o?void 0:o.customShareInfo)return!1;let asyncLoadProcess=async()=>{let o=await h.get();h.lib=o,h.loaded=!0,addUseIn(h);let c=getRegisteredShare(this.shareScopeMap,t,h,this.hooks.lifecycle.resolveShare);return c&&(c.lib=o,c.loaded=!0),o},l=asyncLoadProcess();return this.setShared({pkgName:t,loaded:!1,shared:h,from:c.options.name,lib:null,loading:l}),l}}initializeSharing(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T,o=arguments.length>1?arguments[1]:void 0,{host:c}=this,l=null==o?void 0:o.from,u=null==o?void 0:o.strategy,h=null==o?void 0:o.initScope,m=[];if("build"!==l){let{initTokens:o}=this;h||(h=[]);let c=o[t];if(c||(c=o[t]={from:this.host.name}),h.indexOf(c)>=0)return m;h.push(c)}let g=this.shareScopeMap,y=c.options.name;g[t]||(g[t]={});let E=g[t],register=(t,o)=>{var c;let{version:l,eager:u}=o;E[t]=E[t]||{};let h=E[t],m=h[l],g=!!(m&&(m.eager||(null==(c=m.shareConfig)?void 0:c.eager)));(!m||"loaded-first"!==m.strategy&&!m.loaded&&(!u!=!g?u:y>m.from))&&(h[l]=o)},initFn=o=>o&&o.init&&o.init(g[t],h),initRemoteModule=async t=>{let{module:o}=await c.remoteHandler.getRemoteModuleAndOptions({id:t});if(o.getEntry){let l;try{l=await o.getEntry()}catch(o){l=await c.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:t,error:o,from:"runtime",lifecycle:"beforeLoadShare",origin:c})}o.inited||(await initFn(l),o.inited=!0)}};return Object.keys(c.options.shared).forEach(o=>{let l=c.options.shared[o];l.forEach(c=>{c.scope.includes(t)&®ister(o,c)})}),("version-first"===c.options.shareStrategy||"version-first"===u)&&c.options.remotes.forEach(o=>{o.shareScope===t&&m.push(initRemoteModule(o.name))}),m}loadShareSync(t,o){let{host:c}=this,l=getTargetSharedOptions({pkgName:t,extraOptions:o,shareInfos:c.options.shared});(null==l?void 0:l.scope)&&l.scope.forEach(t=>{this.initializeSharing(t,{strategy:l.strategy})});let u=getRegisteredShare(this.shareScopeMap,t,l,this.hooks.lifecycle.resolveShare),addUseIn=t=>{t.useIn||(t.useIn=[]),addUniqueItem(t.useIn,c.options.name)};if(u){if("function"==typeof u.lib)return addUseIn(u),u.loaded||(u.loaded=!0,u.from!==c.options.name||(l.loaded=!0)),u.lib;if("function"==typeof u.get){let o=u.get();if(!(o instanceof Promise))return addUseIn(u),this.setShared({pkgName:t,loaded:!0,from:c.options.name,lib:o,shared:u}),o}}if(l.lib)return l.loaded||(l.loaded=!0),l.lib;if(l.get){let o=l.get();if(o instanceof Promise)throw Error("\n The loadShareSync function was unable to load ".concat(t,". The ").concat(t," could not be found in ").concat(c.options.name,".\n Possible reasons for failure: \n\n 1. The ").concat(t," share was registered with the 'get' attribute, but loadShare was not used beforehand.\n\n 2. The ").concat(t," share was not registered with the 'lib' attribute.\n\n "));return l.lib=o,this.setShared({pkgName:t,loaded:!0,from:c.options.name,lib:l.lib,shared:l}),l.lib}throw Error("\n The loadShareSync function was unable to load ".concat(t,". The ").concat(t," could not be found in ").concat(c.options.name,".\n Possible reasons for failure: \n\n 1. The ").concat(t," share was registered with the 'get' attribute, but loadShare was not used beforehand.\n\n 2. The ").concat(t," share was not registered with the 'lib' attribute.\n\n "))}initShareScopeMap(t,o){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{host:l}=this;this.shareScopeMap[t]=o,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:o,options:l.options,origin:l,scopeName:t,hostShareScopeMap:c.hostShareScopeMap})}setShared(t){let{pkgName:o,shared:c,from:l,lib:u,loading:h,loaded:m,get:g}=t,{version:y,scope:E="default"}=c,w=_object_without_properties_loose(c,["version","scope"]),S=Array.isArray(E)?E:[E];S.forEach(t=>{if(this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][o]||(this.shareScopeMap[t][o]={}),!this.shareScopeMap[t][o][y]){this.shareScopeMap[t][o][y]=_extends({version:y,scope:["default"]},w,{lib:u,loaded:m,loading:h}),g&&(this.shareScopeMap[t][o][y].get=g);return}let c=this.shareScopeMap[t][o][y];h&&!c.loading&&(c.loading=h)})}_setGlobalShareScopeMap(t){let o=getGlobalShareScope(),c=t.id||t.name;c&&!o[c]&&(o[c]=this.shareScopeMap)}constructor(t){this.hooks=new PluginSystem({afterResolve:new AsyncWaterfallHook("afterResolve"),beforeLoadShare:new AsyncWaterfallHook("beforeLoadShare"),loadShare:new AsyncHook,resolveShare:new SyncWaterfallHook("resolveShare"),initContainerShareScopeMap:new SyncWaterfallHook("initContainerShareScopeMap")}),this.host=t,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(t.options)}};let RemoteHandler=class RemoteHandler{formatAndRegisterRemote(t,o){let c=o.remotes||[];return c.reduce((t,o)=>(this.registerRemote(o,t,{force:!1}),t),t.remotes)}setIdToRemoteMap(t,o){let{remote:c,expose:l}=o,{name:u,alias:h}=c;if(this.idToRemoteMap[t]={name:c.name,expose:l},h&&t.startsWith(u)){let o=t.replace(u,h);this.idToRemoteMap[o]={name:c.name,expose:l};return}if(h&&t.startsWith(h)){let o=t.replace(h,u);this.idToRemoteMap[o]={name:c.name,expose:l}}}async loadRemote(t,o){let{host:c}=this;try{let{loadFactory:l=!0}=o||{loadFactory:!0},{module:u,moduleOptions:h,remoteMatchInfo:m}=await this.getRemoteModuleAndOptions({id:t}),{pkgNameOrAlias:g,remote:y,expose:E,id:w,remoteSnapshot:S}=m,I=await u.get(w,E,o,S),R=await this.hooks.lifecycle.onLoad.emit({id:w,pkgNameOrAlias:g,expose:E,exposeModule:l?I:void 0,exposeModuleFactory:l?void 0:I,remote:y,options:h,moduleInstance:u,origin:c});if(this.setIdToRemoteMap(t,m),"function"==typeof R)return R;return I}catch(h){let{from:l="runtime"}=o||{from:"runtime"},u=await this.hooks.lifecycle.errorLoadRemote.emit({id:t,error:h,from:l,lifecycle:"onLoad",origin:c});if(!u)throw h;return u}}async preloadRemote(t){let{host:o}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:t,options:o.options,origin:o});let c=formatPreloadArgs(o.options.remotes,t);await Promise.all(c.map(async t=>{let{remote:c}=t,l=getRemoteInfo(c),{globalSnapshot:u,remoteSnapshot:h}=await o.snapshotHandler.loadRemoteSnapshotInfo(c),m=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:t,remote:c,remoteInfo:l,globalSnapshot:u,remoteSnapshot:h});m&&preloadAssets(l,o,m)}))}registerRemotes(t,o){let{host:c}=this;t.forEach(t=>{this.registerRemote(t,c.options.remotes,{force:null==o?void 0:o.force})})}async getRemoteModuleAndOptions(t){let o;let{host:c}=this,{id:l}=t;try{o=await this.hooks.lifecycle.beforeRequest.emit({id:l,options:c.options,origin:c})}catch(t){if(!(o=await this.hooks.lifecycle.errorLoadRemote.emit({id:l,options:c.options,origin:c,from:"runtime",error:t,lifecycle:"beforeRequest"})))throw t}let{id:u}=o,h=matchRemoteWithNameAndExpose(c.options.remotes,u);assert(h,"\n Unable to locate ".concat(u," in ").concat(c.options.name,". Potential reasons for failure include:\n\n 1. ").concat(u," was not included in the 'remotes' parameter of ").concat(c.options.name||"the host",".\n\n 2. ").concat(u," could not be found in the 'remotes' of ").concat(c.options.name," with either 'name' or 'alias' attributes.\n 3. ").concat(u," is not online, injected, or loaded.\n 4. ").concat(u," cannot be accessed on the expected.\n 5. The 'beforeRequest' hook was provided but did not return the correct 'remoteInfo' when attempting to load ").concat(u,".\n "));let{remote:m}=h,g=getRemoteInfo(m),y=await c.sharedHandler.hooks.lifecycle.afterResolve.emit(_extends({id:u},h,{options:c.options,origin:c,remoteInfo:g})),{remote:E,expose:w}=y;assert(E&&w,"The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ".concat(u,"."));let S=c.moduleCache.get(E.name),I={host:c,remoteInfo:g};return S||(S=new ea(I),c.moduleCache.set(E.name,S)),{module:S,moduleOptions:I,remoteMatchInfo:y}}registerRemote(t,o,c){let{host:l}=this,normalizeRemote=()=>{if(t.alias){let c=o.find(o=>{var c;return t.alias&&(o.name.startsWith(t.alias)||(null==(c=o.alias)?void 0:c.startsWith(t.alias)))});assert(!c,"The alias ".concat(t.alias," of remote ").concat(t.name," is not allowed to be the prefix of ").concat(c&&c.name," name or alias"))}"entry"in t&&(0,y.OL)()&&!t.entry.startsWith("http")&&(t.entry=new URL(t.entry,window.location.origin).href),t.shareScope||(t.shareScope=T),t.type||(t.type=P)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:t,origin:l});let u=o.find(o=>o.name===t.name);if(u){let h=['The remote "'.concat(t.name,'" is already registered.'),(null==c?void 0:c.force)?"Hope you have known that OVERRIDE it may have some unexpected errors":'If you want to merge the remote, you can set "force: true".'];(null==c?void 0:c.force)&&(this.removeRemote(u),normalizeRemote(),o.push(t),this.hooks.lifecycle.registerRemote.emit({remote:t,origin:l})),(0,y.R8)(h.join(" "))}else normalizeRemote(),o.push(t),this.hooks.lifecycle.registerRemote.emit({remote:t,origin:l})}removeRemote(t){try{let{host:c}=this,{name:l}=t,u=c.options.remotes.findIndex(t=>t.name===l);-1!==u&&c.options.remotes.splice(u,1);let h=c.moduleCache.get(t.name);if(h){let l=h.remoteInfo,u=l.entryGlobalName;if(globalThis[u]){var o;(null==(o=Object.getOwnPropertyDescriptor(globalThis,u))?void 0:o.configurable)?delete globalThis[u]:globalThis[u]=void 0}let m=getRemoteEntryUniqueKey(h.remoteInfo);R[m]&&delete R[m],c.snapshotHandler.manifestCache.delete(l.entry);let g=l.buildVersion?(0,y.lG)(l.name,l.buildVersion):l.name,E=globalThis.__FEDERATION__.__INSTANCES__.findIndex(t=>l.buildVersion?t.options.id===g:t.name===g);if(-1!==E){let t=globalThis.__FEDERATION__.__INSTANCES__[E];g=t.options.id||g;let o=getGlobalShareScope(),c=!0,u=[];Object.keys(o).forEach(t=>{let h=o[t];h&&Object.keys(h).forEach(o=>{let m=h[o];m&&Object.keys(m).forEach(h=>{let g=m[h];g&&Object.keys(g).forEach(m=>{let y=g[m];y&&"object"==typeof y&&y.from===l.name&&(y.loaded||y.loading?(y.useIn=y.useIn.filter(t=>t!==l.name),y.useIn.length?c=!1:u.push([t,o,h,m])):u.push([t,o,h,m]))})})})}),c&&(t.shareScopeMap={},delete o[g]),u.forEach(t=>{var c,l,u;let[h,m,g,y]=t;null==(u=o[h])||null==(l=u[m])||null==(c=l[g])||delete c[y]}),globalThis.__FEDERATION__.__INSTANCES__.splice(E,1)}let{hostGlobalSnapshot:w}=getGlobalRemoteInfo(t,c);if(w){let o=w&&"remotesInfo"in w&&w.remotesInfo&&getInfoWithoutType(w.remotesInfo,t.name).key;o&&(delete w.remotesInfo[o],I.__FEDERATION__.__MANIFEST_LOADING__[o]&&delete I.__FEDERATION__.__MANIFEST_LOADING__[o])}c.moduleCache.delete(t.name)}}catch(t){console.log("removeRemote fail: ",t)}}constructor(t){this.hooks=new PluginSystem({beforeRegisterRemote:new SyncWaterfallHook("beforeRegisterRemote"),registerRemote:new SyncWaterfallHook("registerRemote"),beforeRequest:new AsyncWaterfallHook("beforeRequest"),onLoad:new AsyncHook("onLoad"),handlePreloadModule:new SyncHook("handlePreloadModule"),errorLoadRemote:new AsyncHook("errorLoadRemote"),beforePreloadRemote:new AsyncHook("beforePreloadRemote"),generatePreloadAssets:new AsyncHook("generatePreloadAssets"),afterPreloadRemote:new AsyncHook,loadEntry:new AsyncHook}),this.host=t,this.idToRemoteMap={}}};let FederationHost=class FederationHost{initOptions(t){this.registerPlugins(t.plugins);let o=this.formatOptions(this.options,t);return this.options=o,o}async loadShare(t,o){return this.sharedHandler.loadShare(t,o)}loadShareSync(t,o){return this.sharedHandler.loadShareSync(t,o)}initializeSharing(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T,o=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(t,o)}initRawContainer(t,o,c){let l=getRemoteInfo({name:t,entry:o}),u=new ea({host:this,remoteInfo:l});return u.remoteEntryExports=c,this.moduleCache.set(t,u),u}async loadRemote(t,o){return this.remoteHandler.loadRemote(t,o)}async preloadRemote(t){return this.remoteHandler.preloadRemote(t)}initShareScopeMap(t,o){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.sharedHandler.initShareScopeMap(t,o,c)}formatOptions(t,o){let{shared:c}=formatShareConfigs(t,o),{userOptions:l,options:u}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:o,options:t,shareInfo:c}),h=this.remoteHandler.formatAndRegisterRemote(u,l),{shared:m}=this.sharedHandler.registerShared(u,l),g=[...u.plugins];l.plugins&&l.plugins.forEach(t=>{g.includes(t)||g.push(t)});let y=_extends({},t,o,{plugins:g,remotes:h,shared:m});return this.hooks.lifecycle.init.emit({origin:this,options:y}),y}registerPlugins(t){let o=registerPlugins$1(t,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook]);this.options.plugins=this.options.plugins.reduce((t,o)=>(o&&t&&!t.find(t=>t.name===o.name)&&t.push(o),t),o||[])}registerRemotes(t,o){return this.remoteHandler.registerRemotes(t,o)}constructor(t){this.hooks=new PluginSystem({beforeInit:new SyncWaterfallHook("beforeInit"),init:new SyncHook,beforeInitContainer:new AsyncWaterfallHook("beforeInitContainer"),initContainer:new AsyncWaterfallHook("initContainer")}),this.version="0.6.9",this.moduleCache=new Map,this.loaderHook=new PluginSystem({getModuleInfo:new SyncHook,createScript:new SyncHook,createLink:new SyncHook,fetch:new AsyncHook});let o={id:getBuilderId(),name:t.name,plugins:[snapshotPlugin(),generatePreloadAssetsPlugin()],remotes:[],shared:{},inBrowser:(0,y.OL)()};this.name=t.name,this.options=o,this.snapshotHandler=new SnapshotHandler(this),this.sharedHandler=new SharedHandler(this),this.remoteHandler=new RemoteHandler(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...o.plugins,...t.plugins||[]]),this.options=this.formatOptions(o,t)}};let ei=null;function init(t){let o=getGlobalFederationInstance(t.name,t.version);if(o)return o.initOptions(t),ei||(ei=o),o;{let o=getGlobalFederationConstructor()||FederationHost;return setGlobalFederationInstance(ei=new o(t)),ei}}function loadRemote(){for(var t=arguments.length,o=Array(t),c=0;c{let o=h.R;o||(o=[]);let l=u[t],g=m[t];if(o.indexOf(l)>=0)return;if(o.push(l),l.p)return c.push(l.p);let onError=o=>{o||(o=Error("Container missing")),"string"==typeof o.message&&(o.message+='\nwhile loading "'.concat(l[1],'" from ').concat(l[2])),h.m[t]=()=>{throw o},l.p=0},handleFunction=(t,o,u,h,m,g)=>{try{let y=t(o,u);if(!y||!y.then)return m(y,h,g);{let t=y.then(t=>m(t,h),onError);if(!g)return t;c.push(l.p=t)}}catch(t){onError(t)}},onExternal=(t,o,c)=>t?handleFunction(h.I,l[0],0,t,onInitialized,c):onError();var onInitialized=(t,c,u)=>handleFunction(c.get,l[1],o,0,onFactory,u),onFactory=o=>{l.p=1,h.m[t]=t=>{t.exports=o()}};let onRemoteLoaded=()=>{try{let t=(0,y.e4)(g[0].name,y.yq),o=t+l[1].slice(1);return h.federation.instance.loadRemote(o,{loadFactory:!1,from:"build"})}catch(t){onError(t)}},E=1===g.length&&es.includes(g[0].externalType)&&g[0].name;E?handleFunction(onRemoteLoaded,l[2],0,0,onFactory,1):handleFunction(h,l[2],0,0,onExternal,1)})}function consumes(t){let{chunkId:o,promises:c,chunkMapping:l,installedModules:u,moduleToHandlerMapping:h,webpackRequire:m}=t;attachShareScopeMap(m),m.o(l,o)&&l[o].forEach(t=>{if(m.o(u,t))return c.push(u[t]);let onFactory=o=>{u[t]=0,m.m[t]=c=>{delete m.c[t],c.exports=o()}},onError=o=>{delete u[t],m.m[t]=c=>{throw delete m.c[t],o}};try{let o=m.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:l,getter:g,shareInfo:y}=h[t],E=o.loadShare(l,{customShareInfo:y}).then(t=>!1===t?g():t);E.then?c.push(u[t]=E.then(onFactory).catch(onError)):onFactory(E)}catch(t){onError(t)}})}function initializeSharing(t){let{shareScopeName:o,webpackRequire:c,initPromises:l,initTokens:u,initScope:h}=t;h||(h=[]);let m=c.federation.instance;var g=u[o];if(g||(g=u[o]={from:m.name}),h.indexOf(g)>=0)return;h.push(g);let y=l[o];if(y)return y;var warn=t=>"undefined"!=typeof console&&console.warn&&console.warn(t),initExternal=t=>{var handleError=t=>warn("Initialization of sharing external failed: "+t);try{var l=c(t);if(!l)return;var initFn=t=>t&&t.init&&t.init(c.S[o],h);if(l.then)return E.push(l.then(initFn,handleError));var u=initFn(l);if(u&&"boolean"!=typeof u&&u.then)return E.push(u.catch(handleError))}catch(t){handleError(t)}};let E=m.initializeSharing(o,{strategy:m.options.shareStrategy,initScope:h,from:"build"});attachShareScopeMap(c);let w=c.federation.bundlerRuntimeOptions.remotes;return(w&&Object.keys(w.idToRemoteMap).forEach(t=>{let o=w.idToRemoteMap[t],c=w.idToExternalAndNameMapping[t][2];if(o.length>1)initExternal(c);else if(1===o.length){let t=o[0];es.includes(t.externalType)||initExternal(c)}}),E.length)?l[o]=Promise.all(E).then(()=>l[o]=!0):l[o]=!0}function handleInitialConsumes(t){let{moduleId:o,moduleToHandlerMapping:c,webpackRequire:l}=t,u=l.federation.instance;if(!u)throw Error("Federation instance not found!");let{shareKey:h,shareInfo:m}=c[o];try{return u.loadShareSync(h,{customShareInfo:m})}catch(t){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),t}}function installInitialConsumes(t){let{moduleToHandlerMapping:o,webpackRequire:c,installedModules:l,initialConsumes:u}=t;u.forEach(t=>{c.m[t]=u=>{l[t]=0,delete c.c[t];let h=handleInitialConsumes({moduleId:t,moduleToHandlerMapping:o,webpackRequire:c});if("function"!=typeof h)throw Error("Shared module is not available for eager consumption: ".concat(t));u.exports=h()}})}function initContainerEntry(t){let{webpackRequire:o,shareScope:c,initScope:l,shareScopeKey:u,remoteEntryInitOptions:h}=t;if(!o.S||!o.federation||!o.federation.instance||!o.federation.initOptions)return;let m=o.federation.instance;var g=u||"default";return m.initOptions(polyfills_esm_extends({name:o.federation.initOptions.name,remotes:[]},h)),m.initShareScopeMap(g,c,{hostShareScopeMap:(null==h?void 0:h.shareScopeMap)||{}}),o.federation.attachShareScopeMap&&o.federation.attachShareScopeMap(o),"function"==typeof o.federation.prefetch&&o.federation.prefetch(),o.I(g,l)}let ec={runtime:g,instance:void 0,initOptions:void 0,bundlerRuntime:{remotes,consumes,I:initializeSharing,S:{},installInitialConsumes,initContainerEntry},attachShareScopeMap,bundlerRuntimeOptions:{}};var el=c(87940);let getPrefetchId=t=>(0,y.aA)("".concat(t,"/").concat(y.Kq.identifier)),compatGetPrefetchId=t=>(0,y.aA)("".concat(t,"/VmokPrefetch")),getSignalFromManifest=t=>!!t&&("prefetchEntry"in t||"prefetchInterface"in t)&&(!!t.prefetchEntry||!!t.prefetchInterface);function getRuntime(){let t=c.federation.runtime;if(!t)throw Error("Federation runtime accessed before instantiation or installation");return t}let embedded_esm_getRemoteEntry=function(){for(var t=arguments.length,o=Array(t),c=0;c0)return this._exports;let{name:c}=this._options,l=null==(t=globalThis.__FEDERATION__.__PREFETCH__.__PREFETCH_EXPORTS__)?void 0:t[c],u="function"==typeof l?l():Promise.resolve({}),h=u.then(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c={};Object.keys(t).forEach(o=>{c[o]={};let l=t[o];Object.keys(l).reduce((t,o)=>((o.toLocaleLowerCase().endsWith("prefetch")||"default"===o.toLocaleLowerCase())&&(t[o]=l[o]),t),c[o])}),o.memorizeExports(c)});return h}memorizeExports(t){this._exports=t}getExposeExports(t){let o=getPrefetchId(t),c=compatGetPrefetchId(t),l=this._exports[o]||this._exports[c];return l||{}}prefetch(t){let o;let{id:c,functionId:l="default",refetchParams:u}=t,h=getPrefetchId(c),m=compatGetPrefetchId(c),g=c+l,y=this.prefetchMemory.get(g);if(!this.checkOutdate(t)&&y)return y;let E=this._exports[h]||this._exports[m];if(!E)return;let w=E[l];if("function"==typeof w)o=u?w(u):w();else throw Error("[Module Federation Data Prefetch]: No prefetch function called ".concat(l," export in prefetch file"));return this.memorize(g,o),o}memorize(t,o){this.prefetchMemory.set(t,o)}markOutdate(t,o){let{id:c,functionId:l="default"}=t;this.recordOutdate[c]||(this.recordOutdate[c]={}),this.recordOutdate[c][l]=o}checkOutdate(t){let{id:o,functionId:c="default",cacheStrategy:l}=t;return"function"==typeof l?l():(this.recordOutdate[o]||(this.recordOutdate[o]={}),!!this.recordOutdate[o][c]&&(this.markOutdate({id:o,functionId:c},!1),!0))}constructor(t){this.prefetchMemory=new Map,this.recordOutdate={},this._exports={},this._options=t,this.global.instance.set(t.name,this)}};var eu=new y.Vy("[Module Federation Data Prefetch]");let ef=[],ed="loaded-first",e_=ed,prefetchPlugin=()=>({name:"data-prefetch-runtime-plugin",initContainer(t){let o;let{remoteSnapshot:c,remoteInfo:l,id:u,origin:h}=t,m=c,{name:g}=l,E={name:g,remote:l,origin:h,remoteSnapshot:m},w=getSignalFromManifest(m);if(!w)return t;if(e_!==ed)throw Error("[Module Federation Data Prefetch]: If you want to use data prefetch, the shared strategy must be 'loaded-first'");let S=MFDataPrefetch.getInstance(g)||new MFDataPrefetch(E);m.prefetchEntry&&(o=(0,y.Al)(m,m.prefetchEntry));let I=ef.find(t=>t.id===u);if(I)return t;let R=S.loadEntry(o).then(async()=>{let t=S.getProjectExports();return t instanceof Promise&&await t,Promise.resolve().then(()=>{let t=S.getExposeExports(u);eu.info("1. Start Prefetch initContainer: ".concat(u," - ").concat(performance.now()));let o=Object.keys(t).map(t=>{let o=S.prefetch({id:u,functionId:t}),c=t;return{value:o,functionId:c}});return o})});return ef.push({id:u,promise:R}),t},afterResolve(t){let o;let{remoteSnapshot:c,remoteInfo:l,id:u,origin:h}=t,m=c,{name:g}=l,E={name:g,remote:l,origin:h,remoteSnapshot:m},w=getSignalFromManifest(m);if(!w)return t;let S=ef.some(t=>t.id===u);if(!S)return t;if(e_!==ed)throw Error("[Module Federation Data Prefetch]: If you want to use data prefetch, the shared strategy must be 'loaded-first'");let I=MFDataPrefetch.getInstance(g)||new MFDataPrefetch(E);m.prefetchEntry&&(o=(0,y.Al)(m,m.prefetchEntry));let R=ef.findIndex(t=>t.id===u);-1!==R&&ef.splice(R,1);let T=I.loadEntry(o).then(async()=>{let t=I.getProjectExports();return t instanceof Promise&&await t,Promise.resolve().then(()=>{let t=I.getExposeExports(u);eu.info("1. Start Prefetch afterResolve: ".concat(u," - ").concat(performance.now()));let o=Object.keys(t).map(t=>{let o=I.prefetch({id:u,functionId:t}),c=t;return{value:o,functionId:c}});return o})});return ef.push({id:u,promise:T}),t},async onLoad(t){var o;let{remote:c,id:l}=t,{name:u}=c,h=null==(o=ef.find(t=>t.id===l))?void 0:o.promise;if(h){let t=await h,o=t.map(t=>t.value);await Promise.all(o);let c=MFDataPrefetch.getInstance(u);t.forEach(t=>{let{value:o,functionId:u}=t;c.memorize(l+u,o)})}return t},beforeLoadShare(t){let o=t.shareInfo;return e_=(null==o?void 0:o.strategy)||e_,t}}),sharedStrategy=()=>({name:"shared-strategy",beforeInit(t){let{userOptions:o}=t,c=o.shared;return c&&(Object.keys(c).forEach(t=>{let o=c[t],l=Array.isArray(o)?o:[o];l.forEach(t=>{t.strategy="loaded-first"})}),console.warn("[Module Federation Data Prefetch]: Your shared strategy is set to 'loaded-first', this is a necessary condition for data prefetch")),t}});if(!c.federation.runtime){var eh=c.federation;for(var ep in c.federation={},ec)c.federation[ep]=ec[ep];for(var ep in eh)c.federation[ep]=eh[ep]}if(!c.federation.instance){var em=[!!el.A&&(el.A.default||el.A)(),!!prefetchPlugin&&(prefetchPlugin.default||prefetchPlugin)(),!!sharedStrategy&&(sharedStrategy.default||sharedStrategy)()].filter(Boolean);c.federation.initOptions.plugins=c.federation.initOptions.plugins?c.federation.initOptions.plugins.concat(em):em,c.federation.instance=c.federation.runtime.init(c.federation.initOptions),c.federation.attachShareScopeMap&&c.federation.attachShareScopeMap(c),c.federation.installInitialConsumes&&c.federation.installInitialConsumes(),!c.federation.isMFRemote&&c.federation.prefetch&&c.federation.prefetch()}},72919:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Al:function(){return getResourceUrl},Bb:function(){return isDebugMode},Jn:function(){return generateSnapshotFromManifest},Kq:function(){return MFPrefetchCommon},ML:function(){return safeToString},OL:function(){return isBrowserEnv},R8:function(){return warn},Tr:function(){return isManifestProvider},Vy:function(){return Logger},aA:function(){return encodeName},d:function(){return createLink},e4:function(){return decodeName},k0:function(){return loadScript},lG:function(){return composeKeyWithSeparator},oe:function(){return loadScriptNode},so:function(){return createScript},yq:function(){return ENCODE_NAME_PREFIX}});var _polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(90003),process=__webpack_require__(39907);let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return!0}function isDebugMode(){return void 0!==process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:"undefined"!=typeof FEDERATION_DEBUG&&!!FEDERATION_DEBUG}let getProcessEnv=function(){return void 0!==process&&process.env?process.env:{}},DEBUG_LOG="[ FEDERATION DEBUG ]";function safeToString$1(t){try{return JSON.stringify(t,null,2)}catch(t){return""}}function safeGetLocalStorageItem(){try{if(window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(t){return"undefined"!=typeof document}return!1}let Logger=class{info(t,o){if(this.enable){let c=safeToString$1(o)||"";isBrowserEnv()?console.info("%c ".concat(this.identifier,": ").concat(t," ").concat(c),"color:#3300CC"):console.info("\x1b[34m%s","".concat(this.identifier,": ").concat(t," ").concat(c?"\n".concat(c):""))}}logOriginalInfo(){for(var t=arguments.length,o=Array(t),c=0;c2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,l=t.split(c),u="development"===getProcessEnv().NODE_ENV&&o,h="*",isEntry1=t=>t.startsWith("http")||t.includes(MANIFEST_EXT);if(l.length>=2){let[o,...m]=l;t.startsWith(c)&&(m=[u||l.slice(-1)[0]],o=l.slice(0,-1).join(c));let g=u||m.join(c);return isEntry1(g)?{name:o,entry:g}:{name:o,version:g||h}}if(1===l.length){let[t]=l;return u&&isEntry1(u)?{name:t,entry:u}:{name:t,version:u||h}}throw"Invalid entry value: ".concat(t)},logger=new Logger,composeKeyWithSeparator=function(){for(var t=arguments.length,o=Array(t),c=0;co?t?"".concat(t).concat(SEPARATOR).concat(o):o:t,""):""},encodeName=function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let l=c?".js":"";return"".concat(o).concat(t.replace(RegExp("".concat(NameTransformSymbol.AT),"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp("".concat(NameTransformSymbol.HYPHEN),"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp("".concat(NameTransformSymbol.SLASH),"g"),NameTransformMap[NameTransformSymbol.SLASH])).concat(l)}catch(t){throw t}},decodeName=function(t,o,c){try{let l=t;if(o){if(!l.startsWith(o))return l;l=l.replace(RegExp(o,"g"),"")}return l=l.replace(RegExp("".concat(NameTransformMap[NameTransformSymbol.AT]),"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp("".concat(NameTransformMap[NameTransformSymbol.SLASH]),"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp("".concat(NameTransformMap[NameTransformSymbol.HYPHEN]),"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),c&&(l=l.replace(".js","")),l}catch(t){throw t}},generateExposeFilename=(t,o)=>{if(!t)return"";let c=t;return"."===c&&(c="default_export"),c.startsWith("./")&&(c=c.replace("./","")),encodeName(c,"__federation_expose_",o)},generateShareFilename=(t,o)=>t?encodeName(t,"__federation_shared_",o):"",getResourceUrl=(t,o)=>{if("getPublicPath"in t){let c;return c=t.getPublicPath.startsWith("function")?Function("return "+t.getPublicPath)()():Function(t.getPublicPath)(),"".concat(c).concat(o)}return"publicPath"in t?"".concat(t.publicPath).concat(o):(console.warn("Cannot get resource URL. If in debug mode, please ignore.",t,o),"")},assert=(t,o)=>{t||error(o)},error=t=>{throw Error("".concat(LOG_CATEGORY,": ").concat(t))},warn=t=>{console.warn("".concat(LOG_CATEGORY,": ").concat(t))};function safeToString(t){try{return JSON.stringify(t,null,2)}catch(t){return""}}let simpleJoinRemoteEntry=(t,o)=>{if(!t)return o;let transformPath1=t=>{if("."===t)return"";if(t.startsWith("./"))return t.replace("./","");if(t.startsWith("/")){let o=t.slice(1);return o.endsWith("/")?o.slice(0,-1):o}return t},c=transformPath1(t);return c?c.endsWith("/")?"".concat(c).concat(o):"".concat(c,"/").concat(o):o};function inferAutoPublicPath(t){return t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(t){var o,c,l;let u,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{remotes:m={},overrides:g={},version:y}=h,getPublicPath1=()=>"publicPath"in t.metaData?"auto"===t.metaData.publicPath&&y?inferAutoPublicPath(y):t.metaData.publicPath:t.metaData.getPublicPath,E=Object.keys(g),w={};Object.keys(m).length||(w=(null==(l=t.remotes)?void 0:l.reduce((t,o)=>{let c;let l=o.federationContainerName;return c=E.includes(l)?g[l]:"version"in o?o.version:o.entry,t[l]={matchedVersion:c},t},{}))||{}),Object.keys(m).forEach(t=>w[t]={matchedVersion:E.includes(t)?g[t]:m[t]});let{remoteEntry:{path:S,name:I,type:R},types:T,buildInfo:{buildVersion:P},globalName:O,ssrRemoteEntry:q}=t.metaData,{exposes:A}=t,N={version:y||"",buildVersion:P,globalName:O,remoteEntry:simpleJoinRemoteEntry(S,I),remoteEntryType:R,remoteTypes:simpleJoinRemoteEntry(T.path,T.name),remoteTypesZip:T.zip||"",remoteTypesAPI:T.api||"",remotesInfo:w,shared:null==t?void 0:t.shared.map(t=>({assets:t.assets,sharedName:t.name,version:t.version})),modules:null==A?void 0:A.map(t=>({moduleName:t.name,modulePath:t.path,assets:t.assets}))};if(null==(o=t.metaData)?void 0:o.prefetchInterface){let o=t.metaData.prefetchInterface;N=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},N,{prefetchInterface:o})}if(null==(c=t.metaData)?void 0:c.prefetchEntry){let{path:o,name:c,type:l}=t.metaData.prefetchEntry;N=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},N,{prefetchEntry:simpleJoinRemoteEntry(o,c),prefetchEntryType:l})}if(u="publicPath"in t.metaData?(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},N,{publicPath:getPublicPath1()}):(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},N,{getPublicPath:getPublicPath1()}),q){let t=simpleJoinRemoteEntry(q.path,q.name);u.ssrRemoteEntry=t,u.ssrRemoteEntryType=q.type||"commonjs-module"}return u}function isManifestProvider(t){return!!("remoteEntry"in t&&t.remoteEntry.includes(MANIFEST_EXT))}async function safeWrapper(t,o){try{let o=await t();return o}catch(t){o||warn(t);return}}function isStaticResourcesEqual(t,o){let c=/^(https?:)?\/\//i,l=t.replace(c,"").replace(/\/$/,""),u=o.replace(c,"").replace(/\/$/,"");return l===u}function createScript(t){let o,c=null,l=!0,u=2e4,h=document.getElementsByTagName("script");for(let o=0;o{c&&("async"===t||"defer"===t?c[t]=l[t]:c.getAttribute(t)||c.setAttribute(t,l[t]))})}let onScriptComplete1=async(l,u)=>{var h,m,g;if(clearTimeout(o),c&&(c.onerror=null,c.onload=null,safeWrapper(()=>{let{needDeleteScript:o=!0}=t;o&&(null==c?void 0:c.parentNode)&&c.parentNode.removeChild(c)}),l&&"function"==typeof l)){let o=l(u);if(o instanceof Promise){let c=await o;return null==t||null==(g=t.cb)||g.call(t),c}return null==t||null==(m=t.cb)||m.call(t),o}null==t||null==(h=t.cb)||h.call(t)};return c.onerror=onScriptComplete1.bind(null,c.onerror),c.onload=onScriptComplete1.bind(null,c.onload),o=setTimeout(()=>{onScriptComplete1(null,Error('Remote script "'.concat(t.url,'" time-outed.')))},u),{script:c,needAttach:l}}function createLink(t){let o=null,c=!0,l=document.getElementsByTagName("link");for(let u=0;u{o&&!o.getAttribute(t)&&o.setAttribute(t,l[t])})}let onLinkComplete1=(c,l)=>{if(o&&(o.onerror=null,o.onload=null,safeWrapper(()=>{let{needDeleteLink:c=!0}=t;c&&(null==o?void 0:o.parentNode)&&o.parentNode.removeChild(o)}),c)){let o=c(l);return t.cb(),o}t.cb()};return o.onerror=onLinkComplete1.bind(null,o.onerror),o.onload=onLinkComplete1.bind(null,o.onload),{link:o,needAttach:c}}function loadScript(t,o){let{attrs:c={},createScriptHook:l}=o;return new Promise((o,u)=>{let{script:h,needAttach:m}=createScript({url:t,cb:o,attrs:(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({fetchpriority:"high"},c),createScriptHook:l,needDeleteScript:!0});m&&document.head.appendChild(h)})}function importNodeModule(t){if(!t)throw Error("import specifier is required");let o=Function("name","return import(name)");return o(t).then(t=>t).catch(o=>{throw console.error("Error importing module ".concat(t,":"),o),o})}let loadNodeFetch=async()=>{let t=await importNodeModule("node-fetch");return t.default||t},lazyLoaderHookFetch=async(t,o)=>{let c=__webpack_require__.federation.instance.loaderHook,hook1=(t,o)=>c.lifecycle.fetch.emit(t,o),l=await hook1(t,o||{});if(!l||!(l instanceof Response)){let c="undefined"==typeof fetch?await loadNodeFetch():fetch;return c(t,o||{})}return l};function createScriptNode(url,cb,attrs,createScriptHook){let urlObj;if(createScriptHook){let hookResult=createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error("Invalid URL: ".concat(e)));return}let getFetch=async()=>{try{let t=__webpack_require__.federation.instance.loaderHook;if(t.lifecycle.fetch)return lazyLoaderHookFetch}catch(t){console.warn("federation.instance.loaderHook.lifecycle.fetch failed:",t)}return"undefined"==typeof fetch?loadNodeFetch():fetch},handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script("(function(exports, module, require, __dirname, __filename) {".concat(data,"\n})"),{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error("Script execution error: ".concat(e)))}};getFetch().then(async t=>{if((null==attrs?void 0:attrs.type)==="esm"||(null==attrs?void 0:attrs.type)==="module")return loadModule(urlObj.href,{fetch:t,vm:await importNodeModule("vm")}).then(async t=>{await t.evaluate(),cb(void 0,t.namespace)}).catch(t=>{cb(t instanceof Error?t:Error("Script execution error: ".concat(t)))});handleScriptFetch(t,urlObj)}).catch(t=>{cb(t)})}function loadScriptNode(t,o){return new Promise((c,l)=>{createScriptNode(t,(t,u)=>{if(t)l(t);else{var h,m;let t=(null==o?void 0:null==(h=o.attrs)?void 0:h.globalName)||"__FEDERATION_".concat(null==o?void 0:null==(m=o.attrs)?void 0:m.name,":custom__"),l=globalThis[t]=u;c(l)}},o.attrs,o.createScriptHook)})}async function loadModule(t,o){let{fetch:c,vm:l}=o,u=await c(t),h=await u.text(),m=new l.SourceTextModule(h,{importModuleDynamically:async(c,l)=>{let u=new URL(c,t).href;return loadModule(u,o)}});return await m.link(async c=>{let l=new URL(c,t).href,u=await loadModule(l,o);return u}),m}function normalizeOptions(t,o,c){return function(l){if(!1===l)return!1;if(void 0===l)return!!t&&o;if(!0===l)return o;if(l&&"object"==typeof l)return(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},o,l);throw Error("Unexpected type for `".concat(c,"`, expect boolean/undefined/object, got: ").concat(typeof l))}}},90003:function(t,o,c){"use strict";function _extends(){return(_extends=Object.assign||function(t){for(var o=1;o1)for(var c=1;c0&&t[h-1][2]>u;h--)t[h]=t[h-1];t[h]=[c,l,u];return}for(var m=1/0,h=0;h=u&&Object.keys(__webpack_require__.O).every(function(t){return __webpack_require__.O[t](c[y])})?c.splice(y--,1):(g=!1,u=0)){if(l.push(u),t[c])return t[c];__webpack_require__.o(__webpack_require__.S,c)||(__webpack_require__.S[c]={});var h=__webpack_require__.S[c],warn=function(t){"undefined"!=typeof console&&console.warn&&console.warn(t)},m="peaches",register=function(t,o,c,l){var u=h[t]=h[t]||{},g=u[o];(!g||!g.loaded&&(!l!=!g.eager?l:m>g.from))&&(u[o]={get:c,from:m,eager:!!l})},initExternal=function(t){var handleError=function(t){warn("Initialization of sharing external failed: "+t)};try{var o=__webpack_require__(t);if(!o)return;var initFn=function(t){return t&&t.init&&t.init(__webpack_require__.S[c],l)};if(o.then)return g.push(o.then(initFn,handleError));var u=initFn(o);if(u&&u.then)return g.push(u.catch(handleError))}catch(t){handleError(t)}},g=[];return"default"===c&&(register("next/dynamic","13.5.6",function(){return __webpack_require__.e(3894).then(function(){return function(){return __webpack_require__(83894)}})}),register("next/head","13.5.6",function(){return __webpack_require__.e(2657).then(function(){return function(){return __webpack_require__(2657)}})}),register("next/image","13.5.6",function(){return Promise.all([__webpack_require__.e(7338),__webpack_require__.e(8033)]).then(function(){return function(){return __webpack_require__(57338)}})}),register("next/link","13.5.6",function(){return Promise.all([__webpack_require__.e(7388),__webpack_require__.e(4747)]).then(function(){return function(){return __webpack_require__(34747)}})}),register("next/router","13.5.6",function(){return Promise.all([__webpack_require__.e(7388),__webpack_require__.e(557),__webpack_require__.e(1242),__webpack_require__.e(8033)]).then(function(){return function(){return __webpack_require__(31242)}})}),register("next/script","13.5.6",function(){return Promise.all([__webpack_require__.e(557),__webpack_require__.e(8033),__webpack_require__.e(3063)]).then(function(){return function(){return __webpack_require__(66996)}})}),register("react-dom/client","18.2.0",function(){return Promise.all([__webpack_require__.e(6593),__webpack_require__.e(8033)]).then(function(){return function(){return __webpack_require__(25873)}})}),register("react-dom/server","18.2.0",function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(40931)}})}),register("react-dom","18.2.0",function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(43144)}})}),register("react/jsx-runtime","18.2.0",function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(31085)}})}),register("react","18.2.0",function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(14041)}})}),register("styled-jsx/style","5.1.1",function(){return __webpack_require__.e(2470).then(function(){return function(){return __webpack_require__(92470)}})}),register("styled-jsx","5.1.1",function(){return __webpack_require__.e(6979).then(function(){return function(){return __webpack_require__(96979)}})}),initExternal(20404),initExternal(27313),initExternal(70890)),g.length?t[c]=Promise.all(g).then(function(){return t[c]=1}):t[c]=1}}}(),function(){__webpack_require__.X=function(t,o,c){var l=o;return c||(o=t,c=function(){return __webpack_require__(__webpack_require__.s=l)}),Promise.all(o.map(__webpack_require__.e,__webpack_require__)).then(function(){var o=c();return void 0===o?t:o})}}(),function(){var t;__webpack_require__.tt=function(){return void 0===t&&(t={createScriptURL:function(t){return t}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(t=trustedTypes.createPolicy("nextjs#bundler",t))),t}}(),function(){__webpack_require__.tu=function(t){return __webpack_require__.tt().createScriptURL(t)}}(),function(){__webpack_require__.federation.initOptions.shared={"next/dynamic":[{version:"13.5.6",get:function(){return __webpack_require__.e(3894).then(function(){return function(){return __webpack_require__(83894)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"next/head":[{version:"13.5.6",get:function(){return __webpack_require__.e(2657).then(function(){return function(){return __webpack_require__(2657)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"next/image":[{version:"13.5.6",get:function(){return Promise.all([__webpack_require__.e(7338),__webpack_require__.e(8033)]).then(function(){return function(){return __webpack_require__(57338)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"next/link":[{version:"13.5.6",get:function(){return Promise.all([__webpack_require__.e(7388),__webpack_require__.e(4747)]).then(function(){return function(){return __webpack_require__(34747)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"next/router":[{version:"13.5.6",get:function(){return Promise.all([__webpack_require__.e(7388),__webpack_require__.e(557),__webpack_require__.e(1242),__webpack_require__.e(8033)]).then(function(){return function(){return __webpack_require__(31242)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"next/script":[{version:"13.5.6",get:function(){return Promise.all([__webpack_require__.e(557),__webpack_require__.e(8033),__webpack_require__.e(3063)]).then(function(){return function(){return __webpack_require__(66996)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"react-dom/client":[{version:"18.2.0",get:function(){return Promise.all([__webpack_require__.e(6593),__webpack_require__.e(8033)]).then(function(){return function(){return __webpack_require__(25873)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"react-dom/server":[{version:"18.2.0",get:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(40931)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"react-dom":[{version:"18.2.0",get:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(43144)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"react/jsx-runtime":[{version:"18.2.0",get:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(31085)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],react:[{version:"18.2.0",get:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(14041)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,strictVersion:!1,singleton:!0}}],"styled-jsx/style":[{version:"5.1.1",get:function(){return __webpack_require__.e(2470).then(function(){return function(){return __webpack_require__(92470)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:"^5.1.1",strictVersion:!1,singleton:!0}}],"styled-jsx":[{version:"5.1.1",get:function(){return __webpack_require__.e(6979).then(function(){return function(){return __webpack_require__(96979)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:"^5.1.1",strictVersion:!1,singleton:!0}}]},__webpack_require__.S={};var t={},o={};__webpack_require__.I=function(c,l){return __webpack_require__.federation.bundlerRuntime.I({shareScopeName:c,webpackRequire:__webpack_require__,initPromises:t,initTokens:o,initScope:l})}}(),function(){__webpack_require__.g.importScripts&&(t=__webpack_require__.g.location+"");var t,o=__webpack_require__.g.document;if(!t&&o&&(o.currentScript&&"SCRIPT"===o.currentScript.tagName.toUpperCase()&&(t=o.currentScript.src),!t)){var c=o.getElementsByTagName("script");if(c.length)for(var l=c.length-1;l>-1&&(!t||!/^http(s?):/.test(t));)t=c[l--].src}if(!t)throw Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=t+"../../"}(),function(){var t={},o={542:{getter:function(){return Promise.all([__webpack_require__.e(7388),__webpack_require__.e(557),__webpack_require__.e(1242),__webpack_require__.e(8033)]).then(function(){return function(){return __webpack_require__(31242)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:!1,strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/router"},90359:{getter:function(){return __webpack_require__.e(2657).then(function(){return function(){return __webpack_require__(2657)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"^12 || ^13 || ^14",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/head"},58547:{getter:function(){return Promise.all([__webpack_require__.e(7388),__webpack_require__.e(4747)]).then(function(){return function(){return __webpack_require__(34747)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"^12 || ^13 || ^14",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/link"},89221:{getter:function(){return Promise.all([__webpack_require__.e(557),__webpack_require__.e(8033),__webpack_require__.e(3063)]).then(function(){return function(){return __webpack_require__(66996)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"^12 || ^13 || ^14",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/script"},8287:{getter:function(){return Promise.all([__webpack_require__.e(7338),__webpack_require__.e(8033)]).then(function(){return function(){return __webpack_require__(57338)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"^12 || ^13 || ^14",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/image"},33443:{getter:function(){return __webpack_require__.e(3894).then(function(){return function(){return __webpack_require__(83894)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"^12 || ^13 || ^14",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/dynamic"},77059:{getter:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(14041)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:!1,strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react"},61981:{getter:function(){return __webpack_require__.e(6979).then(function(){return function(){return __webpack_require__(96979)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"^5.1.1",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"styled-jsx"},11984:{getter:function(){return __webpack_require__.e(2470).then(function(){return function(){return __webpack_require__(92470)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"^5.1.1",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"styled-jsx/style"},45400:{getter:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(31085)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:!1,strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react/jsx-runtime"},93750:{getter:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(25873)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:!1,strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react-dom/client"},18033:{getter:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(43144)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:!1,strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react-dom"},11789:{getter:function(){return __webpack_require__.e(3894).then(function(){return function(){return __webpack_require__(83894)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"13.5.6",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/dynamic"},2583:{getter:function(){return __webpack_require__.e(2657).then(function(){return function(){return __webpack_require__(2657)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"13.5.6",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/head"},36423:{getter:function(){return __webpack_require__.e(6996).then(function(){return function(){return __webpack_require__(66996)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:"13.5.6",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"next/script"},41876:{getter:function(){return __webpack_require__.e(6593).then(function(){return function(){return __webpack_require__(40931)}})},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:!1,strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react-dom/server"}},c=[542,90359,58547,89221,8287,33443,77059,61981,11984,45400,77059,93750,18033,45400,11789,2583,36423,41876];__webpack_require__.federation.installInitialConsumes=function(){return __webpack_require__.federation.bundlerRuntime.installInitialConsumes({initialConsumes:c,installedModules:t,moduleToHandlerMapping:o,webpackRequire:__webpack_require__})};var l={542:[542],636:[45400,11789],1876:[41876],5301:[2583],5527:[90359,58547,89221,8287,33443,77059,61981,11984,45400],6423:[36423],8033:[18033],8792:[77059,93750,18033]};__webpack_require__.f.consumes=function(c,u){__webpack_require__.federation.bundlerRuntime.consumes({chunkMapping:l,installedModules:t,chunkId:c,moduleToHandlerMapping:o,promises:u,webpackRequire:__webpack_require__})}}(),function(){var createStylesheet=function(t,o,c,l){var u=document.createElement("link");u.rel="stylesheet",u.type="text/css";var onLinkComplete=function(h){if(u.onerror=u.onload=null,"load"===h.type)c();else{var m=h&&("load"===h.type?"missing":h.type),g=h&&h.target&&h.target.href||o,y=Error("Loading CSS chunk "+t+" failed.\n("+g+")");y.code="CSS_CHUNK_LOAD_FAILED",y.type=m,y.request=g,u.parentNode.removeChild(u),l(y)}};return u.onerror=u.onload=onLinkComplete,u.href=o,document.head.appendChild(u),u},findStylesheet=function(t,o){for(var c=document.getElementsByTagName("link"),l=0;l